{include file='header.html'}
<link type="text/css" href="../../page/css/delay.css" rel="stylesheet">
<script type="text/javascript" src="{$common_domain}/tools/datepicker/jquery-1.7.2.js"></script>
<script type="text/javascript">

$(function () {

    $("form:first").submit(function(e){

        var $this = $(this);
        var $input =  $("#upfile").val();
        if( $input == '') {
            alert ("you must choose a image");
            return false;
            e.preventDefault();
        }
    });


});

</script>
<div id="content">
    <i class="con_l">&nbsp;</i> <i class="con_r">&nbsp;</i>
    <div class="main">
        <div class="blank"></div>

        <form action="" method="post" enctype="multipart/form-data">
            <ul class="ul_cc">

            <li class="s">
                <b class="li_b">图片(文件大小<2M){$burl}</b>
                <input type="file" id="upfile" name="upfile" />
            <li>
            <li class="s"><input type="submit" class="lgo" value="提交"></li>
            </ul>

        </form>

    </div>
</div>
{if $burl}
<script type="text/javascript">
    setTimeout(function(){
        window.location.href = "{$burl}";
    },500);
</script>
{/if}
{include file='footer.html'}